home *** CD-ROM | disk | FTP | other *** search
- Path: rcp6.elan.af.mil!rscernix!danpop
- From: danpop@mail.cern.ch (Dan Pop)
- Newsgroups: comp.lang.c
- Subject: Re: Big and little endians
- Date: 17 Feb 96 21:09:05 GMT
- Organization: CERN European Lab for Particle Physics
- Message-ID: <danpop.824591345@rscernix>
- References: <4fuuqq$fpp@due.unit.no> <4g2j9g$ir2@spanky.pls.ov.com>
- NNTP-Posting-Host: ues5.cern.ch
- X-Newsreader: NN version 6.5.0 #7 (NOV)
-
- In <4g2j9g$ir2@spanky.pls.ov.com> glenn@ov.com (Fletcher.Glenn@ov.com) writes:
-
- >As it applies to computers, the terms refer to the ordering of bytes
- >in a computer word. Dec and Intel use the "Big-Endian" order, and
- >Motorola and SPARC use the "Little-Endian" order.
-
- It's exactly the other way 'round. DEC and Intel are the biggest
- supporters of the little-endian "philosophy".
-
- >The "Little-Endian" order places the lowest addressed byte in the high
- >end of the word, and then next higher addressed byte to the next lower
- >position. Thus if you examine a string in memory, you will see the
- >bytes in the same order as they would appear in a word.
-
- A fairly accurate description of the big-endian order :-)
-
- Dan
- --
- Dan Pop
- CERN, CN Division
- Email: danpop@mail.cern.ch
- Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
-